﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddType.aspx.cs" Inherits="Whir_System_Module_Config_AddType" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>栏目管理</title>
    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/jscript" src="../../../Script/Validate.js"></script>
    <script src="../../Js/jquery/jquery1.3.11.pack.js" type="text/javascript"></script>
    <style type="text/css">
    .tabnav{
	padding:8px;
	height:25px;
	background-color:#EFEFEF;
	font-size:12px;
	font-weight: bold;
	color:#666666;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999999;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <script src="../../Js/JQuery/jquery.tabs.pack.js" type="text/javascript"></script>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="74%" valign="top" align="left" id="left" runat="server">
                    <div id="tabsNav">
                        <div id="tab1nav" class="tabnav"> 基本设置 </div>
                        <div id="tab1">
                            <table border="0" align="center" cellpadding="3" cellspacing="1" width="100%">
                                <tr>
                                    <td height="30" align="center" class="form_tdText">父级类别 </td>
                                    <td align="left" class="form_td">
                                        <asp:DropDownList ID="ddlParent" runat="server" CssClass="select_default">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="30" align="center" class="form_tdText">类别名称 </td>
                                    <td align="left" class="form_td">
                                        <asp:TextBox ID="txtColumnName" runat="server"></asp:TextBox>
                                        <span class="form_desc">此类别在类别列表中的名称</span>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <table border="0" align="center" cellpadding="3" cellspacing="1" width="98%">
                        <tr>
                            <td height="30" colspan="2" align="center">
                                <asp:Button ID="btnUpdate" runat="server" Text="修改" CssClass="btn_default" OnClick="btnUpdate_Click" OnClientClick="return CheckForm();" />&nbsp;                                
                                <input type="button" value="关闭" class="btn_default" onclick="parent.tb_remove();" />
                            </td>
                        </tr>
                    </table>
                </td>                
            </tr>
        </table>
    </form>
</body>
</html>
<script type="text/javascript" language="javascript" src="../../Js/common.js"></script>
<script type="text/javascript">initAutoFormStyle();</script>
<script language="javascript" type="text/javascript">
function CheckForm() {
    var vs = ["txtColumnName|noNull|请输入类别名称!"];
    
    return Validator(vs);
}
</script>